package com.hanserwei.community.entity.request.property;

import com.hanserwei.community.entity.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "物业收费查询请求")
public class PropertyFeeQueryRequest extends PageRequest {

    @Schema(description = "记录ID")
    private Integer id;

    @Schema(description = "收费类型ID")
    private Integer typeId;

    @Schema(description = "房屋ID")
    private Integer houseId;

    @Schema(description = "业主ID")
    private Integer ownerId;

    @Schema(description = "业主姓名(模糊匹配)")
    private String ownerName;

    @Schema(description = "缴费状态")
    private Integer status;

    @Schema(description = "开始时间下限")
    private LocalDateTime startDateFrom;

    @Schema(description = "开始时间上限")
    private LocalDateTime startDateTo;

    @Schema(description = "结束时间下限")
    private LocalDateTime endDateFrom;

    @Schema(description = "结束时间上限")
    private LocalDateTime endDateTo;

    @Schema(description = "备注关键词")
    private String remarks;
}
